﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using DAL;
namespace BLL
{
    public class EmpPassedBiz
    {
        EmpPassedDao empPassedDao = new EmpPassedDao();

        public bool Insert(SortedDictionary<string, string> sdList, SortedDictionary<string, string>  hList)
        {
            return empPassedDao.Insert(sdList, hList);
        }


        public bool Update(string tableName, SortedDictionary<string, string> sdList)
        {
            return empPassedDao.Update(tableName, sdList);
        }

        public bool DeleteOneInfo(string passedID)
        {
            return empPassedDao.DeleteOneInfo(passedID);
        }

        public DataTable GetOneInfo(string passedID)
        {
            return empPassedDao.GetOneInfo(passedID);

        }

        public string GetSQL(string serWord, string bTime, string eTime, string passedTypeName, string infoType)
        {
            return empPassedDao.GetSQL(serWord, bTime, eTime, passedTypeName, infoType);
        }

        public DataTable GetLists(string serWord, string bTime, string eTime, string passedTypeName, string infoType)
        {
            return empPassedDao.GetLists(serWord, bTime, eTime, passedTypeName, infoType);
        }
        public DataTable GetLists()
        {
            return empPassedDao.GetLists();
        }
        public DataTable GetNoPassed()
        {
            return empPassedDao.GetNoPassed();
        }
        public bool ConfigSets(ArrayList empCodeArray, string account)
        {
            return empPassedDao.ConfigSets(empCodeArray, account);
        }
    }
}
